home *** CD-ROM | disk | FTP | other *** search
/ The CICA Windows Explosion! / The CICA Windows Explosion! - Disc 2.iso / nt / ntkb.zip / NTKB.EXE / Q103 / 0 / 15.TXT < prev    next >
Text File  |  1993-11-16  |  5KB  |  115 lines

  1. DOCUMENT:Q103015  15-NOV-1993  [W_NT]
  2. TITLE   :Configuring Advanced Options for COM Ports
  3. PRODUCT :Windows NT
  4. PROD/VER:3.10
  5. OPER/SYS:WINDOWS
  6. KEYWORDS:
  7.  
  8. ------------------------------------------------------------------
  9. The information in this article applies to:
  10.  
  11.  - Microsoft Windows NT operating system version 3.1
  12.  - Microsoft Windows NT Advanced Server version 3.1
  13. ------------------------------------------------------------------
  14.  
  15. WARNING: Using Registry Editor incorrectly can cause serious,
  16. system-wide problems that may require you to reinstall Windows NT to
  17. correct them. Microsoft cannot guarantee that any problems resulting
  18. from the use of Registry Editor can be solved. Use this tool at your
  19. own risk.
  20.  
  21. SUMMARY
  22. =======
  23.  
  24. If you choose the Ports icon in Control Panel, you can configure the
  25. baud rate, number of data bits, parity, number of stop bits, and flow
  26. control for the existing standard PC communication (COM) ports, such
  27. as COM1. If you select one of the existing standard COM ports and then
  28. choose the Advanced button, you receive the following message:
  29.  
  30.    There are no user configurable Advanced I/O parameters for this COM
  31.    port.
  32.  
  33. This message means that NTDETECT already has obtained all the
  34. information about the particular port from the BIOS at boot time. To
  35. override those detected values, advanced options such as I/O
  36. addresses, COM Port Number, and FIFO Enable must be set directly in
  37. the Registry by using Registry Editor.
  38.  
  39. Windows NT 3.1 and Windows NT 3.1 Advanced Server support a maximum of
  40. 256 COM ports. Any ports after the existing standard COM ports can be
  41. added and modified by choosing Ports in Control Panel.
  42.  
  43. MORE INFORMATION
  44. ================
  45.  
  46. The HKEY_LOCAL_MACHINE\System\CurrentControlSet\Services\Serial subkey
  47. in the Registry has subkeys and values that can be used change
  48. defaults for serial ports that were detected by the system. This
  49. subkey can also be used to override values determined by the hardware
  50. detection.
  51.  
  52. The Serial subkey contains the subkey Parameters, under which there
  53. can be a set of subkeys typically named Serial<X>, where <X> is a
  54. whole number. A system administrator must place these subkeys and
  55. values in the Registry. You can define and manipulate these values
  56. only by editing the Registry.
  57.  
  58. Under the Serial<X> subkey, the following value entries can appear.
  59. The first two of these value entries are required. If the subkey does
  60. not include both of these, the port is not configured, and an error
  61. appears in the System Log in Event Viewer.
  62.  
  63. 1. DosDevices      REG_SZ        Range: Free-form string
  64.  
  65. Specifies the name used to access the communication port from the
  66. Windows NT command prompt or from within an application. A typical
  67. value would be COM3.
  68.  
  69. 2. PortAddress     REG_DWORD     Range:  A hex value
  70.  
  71. Denotes the address of the first register of the serial device. In
  72. this case, a typical PortAddress would be 0x3e8. If the PortAddress
  73. value entry is the same as a system-detected port, the data in the
  74. current control set is used instead of the data found by the system.
  75. Entries appear in the System Log in Event Viewer if this is occurring.
  76.  
  77. The following entry values are optional:
  78.  
  79. 3. DisablePort     REG_DWORD     Range: 0 or 1     Default: 0
  80.  
  81. If the value is 1, the device is deleted after the port is reset
  82. during initialization. No access to the port is allowed.
  83.  
  84. 4. ForceFifoEnable REG_DWORD     Range: 0 or 1     Default: 1
  85.  
  86. If the value is 1 and the hardware supports a FIFO buffer (for
  87. example, the NS 16550AFN), the driver enables the FIFO. Not all FIFOs
  88. are reliable. If the application or the user notices lost data or no
  89. data transmission, it is recommended that this value be set to 0.
  90.  
  91. REFERENCES
  92. ==========
  93.  
  94. Information on the serial registry keys was obtained from the
  95. REGENTRY.HLP file available in the Windows NT Resource Kit.
  96.  
  97. Additional reference words: 3.10 comm
  98. KBCategory:
  99. KBSubCategory: winnt howto
  100.  
  101. =============================================================================
  102.  
  103. THE INFORMATION PROVIDED IN THE MICROSOFT KNOWLEDGE BASE IS
  104. PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND.  MICROSOFT DISCLAIMS
  105. ALL WARRANTIES, EITHER EXPRESS OR IMPLIED, INCLUDING THE WARRANTIES
  106. OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  IN NO
  107. EVENT SHALL MICROSOFT CORPORATION OR ITS SUPPLIERS BE LIABLE FOR
  108. ANY DAMAGES WHATSOEVER INCLUDING DIRECT, INDIRECT, INCIDENTAL,
  109. CONSEQUENTIAL, LOSS OF BUSINESS PROFITS OR SPECIAL DAMAGES, EVEN IF
  110. MICROSOFT CORPORATION OR ITS SUPPLIERS HAVE BEEN ADVISED OF THE
  111. POSSIBILITY OF SUCH DAMAGES.  SOME STATES DO NOT ALLOW THE EXCLUSION
  112. OR LIMITATION OF LIABILITY FOR CONSEQUENTIAL OR INCIDENTAL DAMAGES
  113. SO THE FOREGOING LIMITATION MAY NOT APPLY.
  114.  
  115. Copyright Microsoft Corporation 1993.